pub fn read_frame(reader: &mut impl Read) -> Result<Vec<u8>, ComponentError>
Read one complete bounded frame. EOF, including between frames, is an error.