Supports encoding/decoding omaha xml and retrying on transient failures.
This first commit just covers the basic data structures.