Incorporate ssl support