Fix ssl handshake infinite loop & return error when address is unresolvable
Fix ssl handshake infinite loop & return error when address is unresolvable

iDay/cordova-plugin-chrome-apps-sockets-tcp,MobileChromeApps/cordova-plugin-chrome-apps-sockets-tcp,MobileChromeApps/cordova-plugin-chrome-apps-sockets-tcp,iDay/cordova-plugin-chrome-apps-sockets-tcp