Fix 'user-agent' passing