Parses the 'Accept-Language' and 'Accept-Charset' HTTP/1.1 headers