upgradeToSSL
Upgrades the current connection to use SSL/TLS.
Parameters
host
The hostname to verify against the SSL certificate.
port
The port number.
config
The SSL configuration to use.
Upgrades the current connection to use SSL/TLS.
The hostname to verify against the SSL certificate.
The port number.
The SSL configuration to use.