Correct SSL hacks or python 3.3

3.4 has better library support for creating ssl contexts. In 3.3
the caller needs to do more work.