Improved TcpHandler class.
Fixed copyright text.