Utility to parse Accept-Language header and find a language that best matches an available set.