handle duplicate keys

Handle duplicate keys correctly, e.g. the same way that the request module does it (should fix #1)
interesting, I just used `request` recently and got arrays of `length===1` in headers. I'll doublecheck.