Use zeromq library C API, based on work by @wtfuzz and @hexwave. Fixes #1760.
Merge pull request #1612 from cmouse/use-zeromq-c-api

Use ZeroMQ C API