parse service uri

We have to use the host and service name as key since just the service
name is ambiguous