Motivation:
DATA frames with zero-length application data would cause the state
machine to wait for more bytes to continue. This could cause consuming
code to deadlock.
Modifications:
Updated the frame parser to only require more data when there are
remaining bytes in the payload and there are zero readable bytes.
Result:
DATA frames with zero-length application data can be parsed.