Basic implementation of TCPServer app.