https://blog.myetv.tv/2013/12/08/secure-ssl-connection/
Secure SSL connection