Revert "Merge pull request #456 from dawgfoto/useTLS"

This reverts commit dee2d7576ca94a21706f64d83ff9b0dfe761a7b1, reversing
changes made to bf0eefe3b2dda5fde25e8070f635e4a8e2deb042.
Merge pull request #457 from AndrejMitrovic/Revert456

Revert "Merge pull request #456 from dawgfoto/useTLS"