updated for ZeroMQ and czmq wrapper lib