public void addServer(InetSocketAddress addr){
  serverAddresses.add(addr.getHostName() + ":" + addr.getPort());
}

public void addServer ( InetSocketAddress addr ) { serverAddresses . add ( addr . getHostName ( ) + ":" + addr . getPort ( ) ) ; }
adds a server address
