First working version of ipv4+ipv6
Still needs many improvements!