Support ssl connection.