Fixed Bug #20273: Incorrect handling of HTAB in encodeHeader()