Fix HTTPS detection for ROOT_ABSOLUTE_URL_PATH

HTTPS will be defined but empty in most HTTP cases: http://www.php.net/manual/en/reserved.variables.server.php
Merge pull request #5 from dankosaur/master

Fix HTTPS detection for ROOT_ABSOLUTE_URL_PATH