Added some asserts in ZeroMQNode.