1009 handle binary error responses

closes #1009 
this should be combined with `not-found`, since it's rendering a 404, keeping the name as `not-found` makes sense, but change the signature to take a message are and substitute it in, exactly like this function. i.e. remove the `not-found` function and change the name of this function to `not-found`.