tls: export TLSSocket

n/t

/cc @isaacs