Fixed non-quoted useragent strings with commas

Added the ability to allow non-quoted useragent strings with commas.