general ipv6 infra with optional net_bits and Yaroslav's special

You have kwargs, use it instead of new parameter