Read socket link from config

Because it is different from server to server (unless using
a proxy).