Updated to use new zmq_ctx_* functions to create context

Resolves #16