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: b4f0e5cad1c30bffbfb152a9ea6790921fdf2575
  1. framework/
  2. service/
  3. OWNERS