Revert "Revert "Fix issue with ssl.wrap_socket not using TLSv1 version by default""

This reverts commit 4f6eae0a4a81372a34a31a09e0ffcd15e1da0e6d.