These were previously used while trying to parse out specific headers. They are no longer required though because the current length bounds checks covers edge cases.