A simple TCP client in C.