Fixed ssl support