A chat server written in C++ (legacy, might be broken)