Emit extra headers from wikia.php

Backport #2970
Merge pull request #2987 from Wikia/release-214-bac-1474-extra-headers-for-wikia-php

Emit extra headers from wikia.php