rpc add rpc client and server