code: public ShellChannel accept() throws IOException {
          SocketChannel newChannel = ((ServerSocketChannel) channel).accept();
          if (newChannel == null)
              return null;
  
          return new ShellChannelExt(chanProvider, newChannel);
      }
docs: Accepts a connection made to this channel's socket.
  
  The channel returned by this method, if any, will be in non-blocking mode.
  
  @return The {@link ShellChannel} for the new connection, or null if no connection is available to be accepted
  @throws java.io.IOException