frame: Implement subframe header parsing.