'Saves the proxy configuration to self.local_proxy_url in order for the
wrapper to use it in the calls to sqlmap.py and have the traffic go
through our proxy (which has the user configuration, logging, etc).
:return: None, an exception is raised if something fails.'

def start_proxy(self, uri_opener):

    host = '127.0.0.1'
    self.proxy = Proxy(host, 0, uri_opener, name='SQLMapWrapperProxy')
    self.proxy.start()
    self.proxy.wait_for_start()
    self.local_proxy_url = ('http://%s:%s/' % (host, self.proxy.get_bind_port()))
