Parser for the engine.io protocol