ZMQ: extend zmq related parameters into separate struct and added zmq_socket_deinit()