Use SSL/TLS when configured to do so.