I haven't tried just using zmq to communicate with the subscriptions, but ordinarily a callback handler is set and then called when data is received. I don't see anything that just streams the data back over a socket (i.e. response is retrieved and passed to the callback)