HyBi Working Group I. Fette Internet-Draft Google, Inc. Intended status: Standards Track June 13, 2011 Expires: December 15, 2011 The WebSocket protocol draft-ietf-hybi-thewebsocketprotocol-09 Abstract The WebSocket protocol enables two-way communication between a client running untrusted code running in a controlled environment to a remote host that has opted-in to communications from that code. The security model used for this is the Origin-based security model commonly used by Web browsers. The protocol consists of an opening handshake followed by basic message framing, layered over TCP. (In theory, any transport protocol could be used so long as it provides for reliable transport, is byte clean, and supports relatively large message sizes. However, for this document, we consider only TCP.) The goal of this technology is to provide a mechanism for browser- based applications that need two-way communication with servers that does not rely on opening multiple HTTP connections (e.g. using XMLHttpRequest or