Helper class and functions on top of zmq C++ binding.