'Override the parent init so we can save the plugin reference, all the
rest is just the same.'

def __init__(self, ip, port, uri_opener, handler_klass=LoggingHandler, ca_certs=Proxy.CA_CERT_DIR, name='LoggingProxyThread', target_domain=None, plugin=None):

    super(LoggingProxy, self).__init__(ip, port, uri_opener, handler_klass=handler_klass, ca_certs=ca_certs, name=name)
    self.plugin = plugin
    self.target_domain = target_domain
