TCP server and client implementing a simple discussion forum