Feature service endpoint

Introduce a get_endpoint_url method (identity client wrapper) and use it in client initialization.

More details here: #2