Allow mitm_request to mangle things before connect_to_host is done, so it can redirect requests to a different destination.  Don't forget to update self.headers["Host"] as well as the request.