[idl] allow generated messages to be sent with RpcClient/RpcServer [thanks @elen4]