fixed ssl support for swift