fix possible typo: undefined variable $head
Merge pull request #6300 from KoffeinKaio/master

Proxy piwik.php script does not send http headers