use patched engine.io-parser for tests
add tests
make Packet a generic class