implement clearCookie

Implement `clearCookie(name)` to delete a specific cookie by name.