Added a way to force the platform to throw an error.

It requires a switch to be on ***and*** for a specific header to be present.

I intend to use this to test some of the stale on error functionality of the CDN for some upcoming changes.