Normalize headers from HttpStreamingResponse

Since HttpStreamingResponse#headers returns a `Hash` with `Array`-keys,
e.g.

```ruby
 {"cache-control"=>["max-age=300, public"]}
```

we need to normalise this to something like

```ruby
	{"cache-control"=> "max-age=300, public"}
```

in order to **not break other middlewares** processing the headers
further down the pipe.

In our case we encountered a problem when working with `rack-wwwhisper`,
see `Rack::WWWhisper::NoPublicCache#call` (https://github.com/wrr/rack-wwwhisper),
since it is calling `gsub` on the 'Cache-Control' header.
Remove code dup

Reuse class methods from `Rack::Proxy` courtesy of the `rack-proxy` gem