fixed header parsing

props to @barnabywalters
updated mf2 parser