Fix IPv4 nodes not being able to connect to IPv4/IPv6 dual stack nodes
Created by: ChrisSchinnerl
It seems like nodes still used the remoteHeader
to add nodes. Dual stack nodes will put their IPv6 address into that header which prevents IPv4 nodes from pinging them. This PR changes that to make sure IPv4 nodes use the connection's IP address to ping the node.
This should also fix #2735.