Fix false positive when detecting https.

PHP is dumb.  `$_SERVER['HTTPS']` is set to `""` ([sometimes even](https://stackoverflow.com/questions/7304182/detecting-ssl-with-php/7304205#7304205) `"off"`!) when using plain old http, and `"on"` when it's using https.