Added new feature: allowParseCustomHeader/Footer.