Rewrite client.c as an interactive shell, not a fixed program.