Simple C++ logger through TCP