According to the Bitcoin core developer reference, the RPC call getPeerInfo has in its output a field called "addrlocal" which holds our IP from the worldview of the peer.
Why is this output there? Is it used anywhere? Does it have a use case?
Furthermore, they commented that "Most SPV nodes set this to 127.0.0.1:8333", why would an SPV node do that?