Fix UTF-8 parse bug in engine.io