Send headers through

I have stopped sending the user agent at the top level as its a header too. I decided to double send the referrer as it is linked when it is at the top level as a url which is a nice convenience. I decided to send it as a header as well so that was the canonical source of headers