Revert "only using ssl when needed"

This reverts commit 81fc3aead6a2ee499c352cdde4119e337b22898b.