send invalid close frame when using websocket proxy mode.
Merge branch 'develop'