This is an implement of WebSocket in PhoneGap for Lanhaitek