added support for ssl certs
Merge pull request #86 from mburger/add-support-for-ssl-certs

added support for ssl certs