iosocket https fix in index.html