Sounds like you need to switch to a different proxy vendor. The one I'm familiar creates a log with a specific policy deny status message, and other information about the request to help determine why it was blocked, like the categories it's classified under. It also provides the user with a block message, listing the site's categories.
There's also no need for them to actually use status 451 for a feature like that.
Re:Why 451?
by nothrabannosir on Sunday December 20, 2015 @07:56AM
(#10766910)
I think OPs point was not the proxy but the integration of the client. If your browser gets a 451, it can (theoretically) give a better error message.
Not every resource is HTML; this would work for images, XHR, etc too.
No amount of changing proxy servers will help you with that.
Just a thought about applications for this beyond the obvious (but less common in the US) state censorship - it can be seen as a technical help for making sure security and policy controls are clearly communicated to machines as well as people, which makes it easier to figure out when those controls are overbroad.