Add IPv6 support.

TARGET can now be a list of networks that can be IPv4 or IPv6 one.