core: parser - detect pai/ppi headers spanning many lines