upgrade socket io to 1.0.6 and fix some issues

Signed-off-by: maizhiying <zhiying.mai@gmail.com>