zproxy changes for better handling of different libzmq versions