More robust implementation of PubSub based on native ZeroMQ bindings and Protocol Buffers