Support older ZMQ versions.
Merge pull request #11875 from s0undt3ch/develop

Support older ZMQ versions.