CosmoManagerRestClient() - support URL as endpoint in addition to IP, backwards compatible