Fix multiple header definitions in ParseStringHeaders method. Issue #294