Move oauth to object inside config to allow other options like storage.
Fix correct API endpoint for content operations
Add option to allow non SSL requests, with passing tests.