Chat example: Escape user input.