xxxxxxxxxx
WebSocket is designed to work over HTTP. To achieve compatibility with HTTP, the WebSocket handshake uses the HTTP Upgrade header in order to change from the HTTP protocol to the WebSocket protocol. The Upgrade header can be used to upgrade an already established client/server connection to a different protocol