'Undo changes from `_apply_xheaders`.
Xheaders are per-request so they should not leak to the next
request on the same connection.'

def _unapply_xheaders(self):

    self.remote_ip = self._orig_remote_ip
    self.protocol = self._orig_protocol
