code: public boolean readRequest(MuxInputStream in, MuxOutputStream out)
          throws IOException
      {
          int channel = isClient ? 3 : 2;
  
          in.init(this, channel);
          out.init(this, channel);
  
          if (readChannel(channel) != null) {
              in.setInputStream(is);
              in.readToData(false);
              return true;
          }
          else
              return false;
      }
docs: Reads a server request.