Fix multiple header behaviour.

Join multiple header values together, rather than losing duplicates with a
dict.