Uses https endpoint and root cert verification
Don't use global constant for rootca path
Merge pull request #14 from gregburek/https

Uses https endpoint and root cert verification