In most setups we simply do not have enough information to decide
whether user has come through HTTPS or not leading to infinite
redirects.
Anyway this is better to handle at web server side together with setting
HSTS headers.
Issue #11412, #11883
Signed-off-by: Michal Čihař <michal@cihar.com>