Add support for SSL