Revert "ZMQ API diverges from POSIX"
Merge pull request #1222 from zeromq/revert-1183-size_fix

Revert "ZMQ API diverges from POSIX"