implementation of ZMQ based Majordomo Protocol in C++