This does not yet include persistence of inbound requests in the config, and it's mostly untested, but it's more or less complete.
The default address will be set from the environment, or fall back to trying 127.0.0.1:9051. There is now an API to allow this to be overriden as well.