Increase header char length; add option to control max header length