if (impl == null || closed)
if (isClosed())
  public InetAddress getLocalAddress()  {    if (impl == null	|| closed)      return null;        InetAddress localAddr;        try      {	localAddr = (InetAddress) impl.getOption (SocketOptions.SO_BINDADDR);	SecurityManager s = System.getSecurityManager();	if (s != null)	  s.checkConnect (localAddr.getHostName(), -1);      }    catch (SecurityException e)      {	localAddr = InetAddress.ANY_IF;      }    catch (SocketException e)      {        return null;      }    return localAddr;  }