Pre-PEP discussion: revival of PEP 543 - A Unified TLS API for Python

Yeah, this does seem cleaner than what we currently have.

Do you have a good idea what the wrap_socket API should look like? In the previous PEP, they wanted to implement the full socket interface, but I’m not sure if this is desirable.

I agree, this is better.