Cordova's HelloWorld with sockets