Added SSL support.
Merge pull request #3 from stephenmcd/master

Added SSL support.