':param ip: IP address to bind
:param port: Port to bind
:param url_opener: The urlOpener that will be used to open the requests
that arrive from the browser'

def __init__(self, ip, port, url_opener):

    Proxy.__init__(self, ip, port, url_opener, handler_klass=InterceptProxyHandler, name='LocalProxyThread')
    self.requests_pending_modification = Queue.Queue()
    self.requests_already_modified = Queue.Queue()
    self.methods_to_trap = set()
    self.what_to_trap = re.compile(self.DEFAULT_TRAP)
    self.what_not_to_trap = re.compile(self.DEFAULT_NO_TRAP)
    self.trap = False
    self.on_request_edit_finished = self._master.on_request_edit_finished
