return values of socket functions are ssize_t (not int) in compliance with POSIX

deprecated API (zmq_msg_recv/zmq_msg_send) still returns int
Merge pull request #1183 from mschneider/size_fix

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

Revert "ZMQ API diverges from POSIX"
Improve build script error checking.

This commit adds a check to make sure pkg-config is present on the
computer building libzmq.
This particular line was stolen from the debian mailing list.
See https://lists.debian.org/debian-dpkg/2011/04/msg00054.html
Merge pull request #1223 from xaqq/build-script

Improve build script error checking.
Fix issue #1224
Merge pull request #1225 from hurtonm/master

Fix issue #1224
Add --with-libgssapi_krb5 to match libsodium and pgm.
Add support for --with/--without libgssapi_krb5
Merge pull request #1226 from pmienk/master

Standardize optional libgssapi_krb5 dependency
Unbind socket with real endpoint when binding by wild-card * address
Pass --with/--without-libgssapi_krb5 to configure.
Correct libgssapi_krb5 packages.
Merge pull request #1231 from johntconklin/master

Pass --with/--without-libgssapi_krb5 to configure.
Support both --enable-eventfd and --disable-eventfd options.
Merge pull request #1232 from johntconklin/master

Support both --enable-eventfd and --disable-eventfd options.
Merge pull request #1229 from lysyloren/master

Unbind socket with real endpoint when binding by wild-card * address
Added test and updated documentation for unbind wild-card * binded socket
Merge pull request #1233 from lysyloren/master

Added test and updated documentation for unbind wild-card * binded socke...