bitcoin-cli: More detailed error reporting
Register a evhttp error handler to get a more detailed error message if the HTTP request fails.