Casper: Prompt Sanitization for Protecting User Privacy in Web-Based Large Language Models