Replace setsockopt/getsockopt calls with set/get

Relates to txZMQ issue #39.

Fix bug introduced by api changes to pyzmq (core/socket.pyx).