After experimenting with WebSockets and mobile devices I ended up with several versions of WebSockets.
You can test the following WebSocket clients by modifying the code to connect to: http://www.websocket.org/echo.html
HTML5 Websockets https://github.com/john-bessire/html5WebSockets
Appgyver Mobile WebSocket https://github.com/john-bessire/appGyverWebSockets
Game Closure WebSocket test GameClosure - https://github.com/john-bessire/gameClosureWebSockets
The Play Framwork 2.2.0 scala program will echo back anything you send to it. https://github.com/john-bessire/webSocketPlayFramework