Added SSL/TLS support