Escape URL and cookie input.