Check if locale_accept_from_http() is a supported locale

Add validation to method negotiateLanguage() when use locale_accept_from_http function