Add getEndpoints method to ServiceClient

This is just a method for ease of use. The user may want to know the endpoints exposed by a Service - this is ambiguous to which handler it comes from etc. The user can obviously do this themselves by parsing the ServiceSpec, but since its a common enough operation its nice to have an additional method.