Cleanup and HTTPS support
Merge pull request #4 from loladiro/master

Cleanup and HTTPS support