Add a trait mapping the REST interface out.
Point dependency at my curl-rust branch

Once upstream replies to pull request, this can hopefully be changed back.