Fix problem with Chrome 33 and empty headers

Chrome 33 can't handle empty headers in WS upgrade responses it seems. The result is an "Invalid UTF-8 sequence in header" error.
Merge pull request #1823 from Artur-/master

Fix problem with Chrome 33 and empty headers