Readability improvements in ZMQ layer: code refactoring, comments