added zmq context setter and getter functions