Improved parse_accept_language().

Improved parse_accept_language().