updated to latest czmq api