Add explanation about with statement
Handle either TLS or SSL connections.