SUITEDEV-2114: collapse multiple spaces in header values