When using a random port (`:0`), there is no way to then retrieve the port used, e.g. to print it to the console maybe `listener.Addr()` should be exposed by `agent` ?