Update boot.php

Correction to handle ssl properly. It least for me using nginx and lighttpd this code works.