code: @Nonnull
    private InputStream _getInIfOpen () throws IOException
    {
      final InputStream ret = in;
      if (ret == null)
        throw new IOException ("Stream closed");
      return ret;
    }
docs: Check to make sure that underlying input stream has not been nulled out due
  to close; if not return it;