[refactor minor] Remove duplicated code in `this.cloud`. Host `Apps.prototype.endpoints` to `Client.prototype.endpoints`
[fix] When only one cloud is passed to `Client.prototype.cloud` then respond with an unwrapped result.