Added support for correct tracking of IP address via Piwik.