ZMQ prototype code for Client