unflatten headers

miyagawa found that you could run into cases where what LWP expects and
what HTTP::Tiny expects in the case of headers doesn't match up. He had
a neat hack to fix that, and this totally steals that neat hack.