Revert "do not use sync app socket for local prefix discovery"

This reverts commit ba70734c2a43e9fc663aff4061e22a20e01c199e.
3 files changed