public function normalize($userAgent)
    {
        //If there are no spaces in a UA and more than 2 plus symbols, the UA is likely affected by IIS style logging issues
        if (substr_count($userAgent, ' ') === 0 and substr_count($userAgent, '+') > 2) {
            $userAgent = str_replace('+', ' ', $userAgent);
        }

        return $userAgent;
    }