decode Frame
Decodes the given text frame as a single EngineIOPacket.
If this packet is a EngineIOPacket.Message packet, the payload text is deserialized using the provided deserializePayload function.
This is meant to be used in web socket mode, where each web socket frame contains a single Engine.IO packet. When using HTTP long-polling with batched packets, use decodeBatch instead.