Hook sendto to get the target IP address