send invalid close frame when using websocket proxy mode.