stablished early because otherwise httplib would
        improperly set Host: header to proxy's IP:port.
        r