Fix https handling
Merge pull request #6 from Herrie82/webOS-ports/master

Fix https handling