References:
https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_server
http://stackoverflow.com/questions/5835944/c-sharp-html5-websocket-server
https://msdn.microsoft.com/ru-ru/magazine/hh975342.aspx
https://developer.mozilla.org/ru/docs/Web/API/WebSocket
https://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-17
https://learn.javascript.ru/websockets