static fun extractBodyType(flagByte: Byte): BodyType
Extract the body type from a flag byte
flagByte - the flag byte encoding the body type
flagByte
Return the body type, either JSON, UTF_8_STRING or BINARY