Quote useragent string to avoid error