What would you like to be added:
Here are some possible reasons for the closure:
1000: Normal closure
1001: Going away
1002: Protocol error
1003: Unsupported data
1004: Too large frame
1005: No extension
1006: Invalid frame payload
1007: Policy violation
1008: Message too large
1009: Internal server error
1010: TLS handshake failure
Why is this needed: