Catch server error

It appears there are numerous conditions where the Ingress server crashes and returns an HTTP 500 error message. Currently, you are not handling this condition. I propose that we check the HTTP status code for status 500, and report the error condition back to the caller. I added example handlers for hackPortal and deployResonator.