Playing with server client socket communication in C