Simple ZeroMQ helper functions

* zmq helper functions
* some initial preparation for Node class