Adding SSL/TLS support.