[v6.x] cli: add --max-http-header-size flag
backport of #24811
Did not backport 436f4de3 (not applicable to legacy option parser) 632f2633 needed to be recreated from scratch, very minor changes from the 8.x backport found in https://github.com/nodejs/node/pull/25171