Improved Accept-Language parser.

Improved Accept-Language parser.