rpc client demo