[HttpRequest] fixes Request::getLanguages() bug