zmq 3 compatibility