When detecting the existence of a proxy environment variable, check for HTTP versus HTTPS and uppercase vs lowercase
Merge pull request #269 from wibblymat/issue-208

Check for HTTP versus HTTPS and uppercase vs lowercase proxy env variable