Revert "Remove SSL workaround"

This partial reverts commit 35c5b9da4e89a4452f44cc1634d9c062267a4074.
Merge pull request #19 from peternied/master

Revert "Remove SSL workaround"