Chronological opcode based byte packet parser for Node.js