fixed rpaf_looks_like_ip to properly consider IPv6 addresses