Wraps failed http.Request objects in a net.Error interface.
Supports encoding/decoding omaha xml and retrying on transient failures.