Remove usage of hidden InetSocketAddress constructor

The constructor is a hidden API, and used in a code path that can
never happen.
Replace it with a thrown exception (which should never be thrown either).

Bug: 170598012
Change-Id: Ie2c671c1a75accb8e94b08de9901d14b72caaf7e
Test: m
1 file changed
tree: 55781ef6cc35085bed0f168d7e44ae1544be7bcc
  1. core/
  2. framework/
  3. service/
  4. services/
  5. tests/
  6. OWNERS