A simple echo server program for C++