在2.0.8下,使用websocket时,如果以这种方式设置websocket的回调,那么将无法在原生项目中使用websocket,
解决办法: 用以下方式设置回调
https://github.com/cocos2d/cocos2d-x/issues/17030