TCPClient is now initialized with a URL. Code reorganization.