Added tests for bad proxies that remove WebSocket response headers.
Merged branch '2.7.x' into 'master'.