Added SSL encryption layer