Introduced TCP client and URL structure to simplify