pub fn validate_body(
    expected_body: &[u8],
    actual_body: &[u8],
    full_stream: bool,
) -> Result<(), Box<dyn StdError>>Expand description
Validate that the bodies match, which includes headers and messages
When full_stream is true, it also verifies the length of frames