RPC async server and sync client