ZMQ::Socket#getsockopt: add support for LAST_ENDPOINT and MULTICAST_HOPS

This only adds the behavior only if libzmq3 is used (not version 2).
Merge pull request #83 from paddor/master

ZMQ::Socket#getsockopt: add support for LAST_ENDPOINT and MULTICAST_HOPS