Update and rename client.cpp to client.c