Handle lowercased versions of HTTP_PROXY and HTTPS_PROXY.

On some systems the setting manager sets the proxy variables in a
lowercased version instead of the more standard uppercased versions.