Track visits referred from https?

Piwik can track HTTPS correctly. Maybe make sure that the redirection HTTP -> HTTPS conserves the referrers. maybe it’s not possible though, not sure.