Added implementation of TCP connection (client)