A method to return the preferred language from the accepted-language header