added support for SSL
Merge pull request #7 from ssalihu/ssl-support

added support for SSL