For #851: Ignore user_agent
Fix #850 and #851 (induced by #850)