make sure that it actually uses ssl for https.
Merge pull request #1 from siong1987/use_ssl

make sure that it actually uses ssl for https.