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