Added missing logic for the IPv4 remote address