Fix ssl support