change forwarding and error handling behavior of rest server