Just a copy of the file from https://github.com/piwik/piwik/blob/master/libs/PiwikTracker/PiwikTracker.php