Fixed a bug with calling .lower() when a proxy does not send a Connection: response header