Use new methods internally & deprecated part of header()
Use new methods internally & deprecated part of header()

request->header() has a tricky mode where it automatically falls back to
env(). This violates the object encapsulation the request should be
trying to provide. Deprecating this behavior now allows us to make
header() a simple alias for getHeaderLine() in the future.

mvdriel/cakephp,berrygoudswaard/cakephp,CakeDC/cakephp,garethellis36/cakephp,dakota/cakephp,davidyell/cakephp,ndm2/cakephp,garethellis36/cakephp,mvdriel/cakephp,petteyg/cakephp,ADmad/cakephp,ADmad/cakephp,cakephp/cakephp,dakota/cakephp,ADmad/cakephp,berrygoudswaard/cakephp,CakeDC/cakephp,petteyg/cakephp,cakephp/cakephp,petteyg/cakephp,CakeDC/cakephp,ndm2/cakephp,tenkoma/cakephp,garethellis36/cakephp,ndm2/cakephp,ADmad/cakephp,ndm2/cakephp,cakephp/cakephp,berrygoudswaard/cakephp,dakota/cakephp,cakephp/cakephp,mvdriel/cakephp,dakota/cakephp,CakeDC/cakephp,tenkoma/cakephp,tenkoma/cakephp,davidyell/cakephp,petteyg/cakephp,davidyell/cakephp,mvdriel/cakephp,garethellis36/cakephp,tenkoma/cakephp