I was looking at the protocol during last beta and I have a problem with the packet length calculation. my understanding is that the first and sometimes the second byte are combined to define the length of the following data.
I think a second byte is used whenever the first byte value is >= 0x80
however I have not fully figured out what the meaning of that second byte is.
it seems that value 0x01 has no effect
0x02 adds 0x40 length
0x03 adds 0x80 length
but somethings is not quite right because it does not match what I have in the tcp dump.
did someone figure it out ?