fix support for zmq sockets which don't support recv