Added support for passing through Accept header.

Could probably make this more generic and pass through multiple headers, but this was what I needed, it might be useful to others.