server.c: reflect received string to client