replaced calls to setsockopt/getsockopt with set/get

Relates to txZMQ issue #39.

Fix bug introduced by api changes to pyzmq (core/socket.pyx).
Double compat checking (ridiculous!)
Compatibility with both old and new pyzmq (13.0.0 and 2.2.0.1)