Make useragent more standards-compliant

Some web servers are weird..