Yes, standards are great. But you can't break sites.
To take your extrapolation in the other direction: you're arguing that if we want to hit old stuff that we need to do it in a VM running Windows 98 and IE4.
It wrongly put the browser-sent header in there overwriting it's own variable (or creating it when it shouldn't).
$_SERVER is an array containing information such as headers, paths, and script locations.
You may or may not find any of the following elements in $_SERVER.
'HTTPS'
Set to a non-empty value if the script was queried through the HTTPS protocol.
https://secure.php.net/manual/en/reserved.variables.server.p...Apache's says to look into the HTTPS variable (that it adds itself before passing the call to the handler) to know if the call was made over https, but then it overwrite that variable with the browser-sent header if there is one (or more exactly, it uses the same variable name for that header and it's own HTTPS indicator; so it overwrites if both are present, and if only the header is present then it creates it when it shouldn't -- the issue in this post).