Fix header parsing further, remove redundant method

git-svn-id: svn+ssh://svn.savannah.nongnu.org/gap/trunk@2746 d25b4930-3292-e311-b074-0010c6de5da8