Ensure that no Java InetSocketAddress objects are exposed to JS clients.
Remove external java objects from API