A simple socket/client program in C