maxHeadersCount, with test