Modified ApiClient to use user.use_ssl to determine whether or not to us...

...e SSL for REST API requests. Uses SSL by default.