TheWebSocketprotocolenablestwo-waycommunicationbetweenauseragentrunninguntrustedcoderunninginacontrolledenvironmenttoaremotehostthathasopted-intocommunicationsfromthatcode.ThesecuritymodelusedforthisistheOrigin-basedsecuritymodelcommonlyusedbyWebbrowsers.Theprotocolconsistsofanin