code: @Override
    public int getAvailable() throws IOException
    {
      if (_is == null) {
        if (_s == null)
          return -1;
      
        _is = _s.getInputStream();
      }
  
      return _is.available();
    }
docs: Returns the number of bytes available to be read from the input stream.