Add assertion in the ZeroMQ layer (issue #33).
Add assertion in the ZeroMQ layer (issue #33).