Starting to work on a TCP client