GUAC-553: Map Guacamole error status to nearest WebSocket error status.
GUAC-553: Send Guacamole status code as sole content of WebSocket close frame.