Make SSL work.
Merge pull request #2 from mdaley/master

Make SSL work.