Q1: Should the client enter the OPEN state?
Multiple ChoiceA client offered no extensions. The server replies 101 with correct Upgrade, Connection, and Sec-WebSocket-Accept fields, but also selects an extension in Sec-WebSocket-Extensions.
Scope: RFC 6455 defines the opening handshake, framing, masking, control frames, and connection closure. Origin is a browser-origin signal, masking is not encryption, and a successful handshake or subprotocol selection is not application authentication or authorization.
A client offered no extensions. The server replies 101 with correct Upgrade, Connection, and Sec-WebSocket-Accept fields, but also selects an extension in Sec-WebSocket-Extensions.
A privileged endpoint accepts `Origin: https://trusted.example` as its only client credential. Browser scripts and autonomous A2A clients can both connect to the endpoint.
After a valid wss handshake, a client sends an otherwise well-formed text frame with MASK=0. The implementation accepts it because TLS already protects confidentiality.
A large text message is arriving in fragments. Between continuation frames, a valid Ping frame arrives. The receiver buffers it until the text message is complete.
A proxy observed the handshake but does not implement a negotiated WebSocket extension. To reduce buffering, it plans to coalesce and split the connection's data-message fragments.
An A2A server completes a valid wss handshake and selects `Sec-WebSocket-Protocol: agent-admin`. It then authorizes destructive admin commands without checking any credential or grant.