restrict header parsing to five levels