If `self.proxy_headers` is not `None` (as per comment above), this check can be removed.