doc: net.Socket in TLSSocket
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
tls
Description of change
If we don't wrap the net.Socket in a TLSSocket, then the connect works as expected.But if we're using TLS from the start, then we just use tls.connect().