Add tests for java.net APIs

Bug: 182166637
Test: atest CtsLibcoreTestCases:libcore.java.net
Change-Id: I81b9325c6c2a1fda6a2446dac5714fa744861a6a
9 files changed