zmq3/4 compatibility