drop support for zmq 2.x
use fewer global variables