add ssl support
Merge pull request #1 from highfivedenis/add-ssl-support

add ssl support