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