update; check for https
update; cleaner code
Merge pull request #8 from Jhays10/httpsCheck

update; check for https