Merge pull request #48 from mjg17/master

zmq_getsockopt for ZMQ_LAST_ENDPOINT should not return a string with a trailing null byte