Update boot.php

The http or https detection does not work, add a test on $ _SERVER ["HTTPS"]
Merge pull request #39 from Jobpilot/master

The http or https detection does not work, add a test on $ _SERVER ["HTTPS"]