Normalize header names to lowercase. If a header appears multiple times,
join its values with ', ' (in original order).
solve([['Content-Type', 'text/html'], ['Set-Cookie', 'a=1'], ['set-cookie', 'b=2']])
→ { 'content-type': 'text/html', 'set-cookie': 'a=1, b=2' }.
Sample tests