We will follow the definition of RFC6455 document to implement from scratch the server-side part of the WebSocket protocol.