client: add getServices helper
samples: add getServices simple usage example