fixed ssl support