Getting bytestring length from other structure leads to infinite loop in some cases.
To parse "payload" field Binpac yields:
After this line
Binpac will run into infinite loop because
will always return false if the total size of a message is less than 18 bytes.
Linux 4.2.0-38 x64