dump zmq messages on a socket