initial header parsing.