Fix h_tbl offset increment upon storing a parsed header.

The offset is only for common headers. Special headers live by their
own constant IDs, so the offset should not be incremented for them
(as it was before this commit).

It is not a major error yet, it just causes a lot of space in the
headers table wasted for non-existing headers.
add basic tests for headers parsing code