First commit.

See RestRequest.cs.
To subclass use BaseRestRequest then add new methods and make some from
BaseRestRequest public (with new) if needed.