headerparser: add maxHeaderPairs option