a simple chat client/server built with C++ and curses