C++ chat server I'm making to learn about network programming