Implement zmq_setsockopt in ZeroMQ compatibility library

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>