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