handle 'upgrade' in comma-separated connection header

Firefox sends `keep-alive, upgrade`, not just `upgrade`,
which the proxy incorrectly turned into `close`
use regex to check for upgrade header

in websocket connections
test new detection of connection: upgrade
Merge pull request #691 from minrk/firefox-ws-connection-close

handle 'upgrade' in comma-separated connection header