Preliminary work on having the REST API to controller encapsulated in its own class
Brought over from iOS console to client library some utility classes for lower level HTTP handling.
Adapted iOS console to use those classes from the client library.