[HTTP] Fail ASAP on HTTP error status codes.

Fixes #41.