TheWebSocketProtocolenablestwo-waycommunicationbetweenaclientrunninguntrustedcodeinacontrolledenvironmenttoaremotehostthathasopted-intocommunicationsfromthatcode.Thesecuritymodelusedforthisistheorigin-basedsecuritymodelcommonlyusedbywebbrowsers.Theprotocolconsistsofanope