prevent duplicate threads
use https everywhere
use https
Merge pull request #105 from ryn0/master

ssl