simplify ssl support