81e37f8812
Adds an upgradeTLS method to the conn objects returned by dial/accept, wrapping the existing net.Conn with crypto/tls in place (STARTTLS / FTPS AUTH TLS style). Client mode reuses the dialTLS options (serverName, insecureSkipVerify, caCerts), now factored into tlsClientConfigFromJS; server mode takes isServer with certPem/keyPem. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XfRgMke8p7QDxD5QM5thxH