Show more useful error message

Dispatch based on the response code from the HTTP server:

- 2xx: print the status URL.
- 4xx: print the error from the server.
- otherwise: print a short, pithy error message.