C++ implementation of the WebSocket protocol (server side)