Network API: default to ipv4, add ipv6 tests

Change-Id: I34da0ede4d7b92b2e752c2da82172c495e1946b1
Merge "Network API: default to ipv4, add ipv6 tests"