Add support for SSL connections