Fix multiple header definitions in ParseStringHeaders method