Modify proxy to throw an exception when server response is not a 200.