Update middleware handle resolve endpoint response
Update middleware handle resolve endpoint response

- Forward if status code is 200
- Return resolve endpoint response if code is 4xx
- Otherwise return server error

SkygearIO/skygear-server,SkygearIO/skygear-server,SkygearIO/skygear-server,SkygearIO/skygear-server