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. It also operates off of a whitelist of statuses.

I intend to use this to test some of the stale on error functionality of the CDN for some upcoming changes.