libt2n: (gerd) adapt codegen to new command_client interface, fix codegen-examples