I think we should put a comment here that says something to the affect of "clear out the connection because the host/port were mutated during the proxy flow". why we only set this one to ``None`` is not very obvious without the comment.