Add getEndpoints method to ServiceClient

Better just use a `ImmutableList.Builder`.