fix service definition deref in cli commands
add indexed connection traces and require it in aggregator, add them in client as well