fixed ssl handling