Is it possible to somehow falsify the data in the Origin header? The question is asked for the purpose of protection.
GET /ttt HTTP/1.1 Host: server.example.com Upgrade: websocket Connection: Upgrade Origin: http://webru.ru Sec-WebSocket-Key: 32f2f2f2342r23 Sec-WebSocket-Version: 13