… proxying scenarios. Update tests accordingly.
…the `changeOrigin` option is set explicitly. Added tests to ensure Origin and sec-websocket-origin headers match when proxying websockets.
…headers to test origin mismatch bugs
…ets behind reverse proxied websocket events. Only use the appropriate variables in the closure scope of the `upgrade` event from this bookkeeping
This reverts commit 642e158.