Simple IP abstraction layer that both handles IPv4 and IPv6 adresses