protect against mal-formed HTTP_ACCEPT_LANGUAGE strings
Merge remote-tracking branch 'origin/master' into 1.4.5