facebook/hhvm — pull request #1546 by apuckey (2014-01-11 23:15:47+00:00)
Title: FASTCGI: Check for HTTPS header coming from nginx/apache and setSSL appropriately.

Check passed header values for HTTPS.

IIS sets this header to "off" so check for that and empty value before using transport->setSSL().

Only change to lower case if the value is not empty for performance.