client: Remove readline handling from main.c