kohana/core — pull request #381 by Manc (2013-08-16 09:00:49+00:00)
Title: Detect secure HTTPS request via proxy

Other properties already support proxy related attributes (eg. HTTP_X_FORWARDED_FOR) but not to determine whether the initial request was made via a secure HTTPS connection. This is useful if the web server is behind a proxy server.