added a check for http in homepage url, this should fix issue #768