Parse config headers with quoted quotes

Parse config headers that have the last quote on the
line quoted instead of walking off the end.
Merge pull request #1769 from ethomson/configparse

Parse config headers with quoted quotes