Update to most recent stable zeromq API usage.

The minimum versions are now also updated since the beacon API changed somewhere between 4.0.0 and 4.0.4 of zeromq.