Test server and client socket programs in C