node-nntp
node-nntp copied to clipboard
Pass servername to TLS
Fixes error:
Error: Hostname/IP doesn't match certificate's altnames: "Host: null. is not in the cert's altnames:......
When passing a socket to tls.connect, the host is ignored and stops the certificate being matched.