Client/Server in C with basic command structure