Adds SSL support
Merge pull request #12 from RobKellett/ssl

SSL support