core: parse to compare header names