'Convert libmproxy.http.HTTPRequest to
w3af.core.data.url.HTTPRequest.HTTPRequest'

def _to_w3af_request(self, request):

    url = ('%s://%s:%s%s' % (request.scheme, request.host, request.port, request.path))
    return HTTPRequest(URL(url), data=request.content, headers=request.headers.items(), method=request.method)
