more implementation of c++ web sockets