Splitted TCPServer from TCPServerThread for better modularity