#92187HTTP/HTTPS not correctly determined behind reverseProxy
Description
When using TYPO3 behind a reverse proxy with SSL termination and setting $GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxySSL'] to ‘*’ or any ip address, TYPO3 assumes, that the request is using HTTPS even though the proxy might have received it as HTTP. It should honor the X-Forwarded-Proto header, if set.
This effects all active versions (9, 10 and master).