When using a systemd socket, retrieve its local address.