Add TLS/SSL support