Port original version to the new version using ZMQ