Request now understands HTTPS if variable is 'on' instead of 1
Merge pull request #4487 from spiliot/3.0-req-https

Request now understands HTTPS if variable is 'on' instead of 1
Update test to use request->env() instead of modifying globals.