Override == for IPAddr to do not raise exception on type cast