extend/cowboy — pull request #682 by ferd (2014-03-12 18:29:47+00:00)
Title: Support ad-hoc keep-alive for HTTP/1.0 Clients

Only go for keep-alive if they submit a 'connection: keep-alive' header
in the request, keep behaviour the same otherwise.

From [HTTPBis](http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-26#section-6.3):

> If the received protocol is HTTP/1.0, the "keep-alive" connection
option is present, the recipient is not a proxy, and the recipient
wishes to honor the HTTP/1.0 "keep-alive" mechanism, the
connection will persist after the current response; otherwise,

I'm opening this pull req to see if we're willing to change the default behavior to honoring
the request, rather than not. It's possible to do that check manually and force
the option with `cowboy_req`'s getters and setters, so if you disagree, feel free to close this.