Fix broken client code

Client code doesn't run as shown. 

Client code snippet uses .listen(), which fails when run as a separate process because the service process is already listening to the localhost:10101 default endpoint.