IP address comparison

Checks if two addresses are the same. For now it only support IPV4/IPV4 and IPV6/IPV6,
mixed mode is not implemented yet.