Restore change in referer() signature.
Restore change in referer() signature.

In #12320 the default value for local was changed to `true` this change
makes using referer safer.

dakota/cakephp,dakota/cakephp,ndm2/cakephp,cakephp/cakephp,cakephp/cakephp,dakota/cakephp,CakeDC/cakephp,ADmad/cakephp,ADmad/cakephp,CakeDC/cakephp,cakephp/cakephp,CakeDC/cakephp,ndm2/cakephp,cakephp/cakephp,CakeDC/cakephp,ADmad/cakephp,dakota/cakephp,ADmad/cakephp,ndm2/cakephp,ndm2/cakephp