code: private String readRawLine() throws IOException {
      int b = inputStream.read();
      if (b == -1) {
        return null;
      } else {
        StringBuilder buffer = new StringBuilder();
        for (; b != -1; b = inputStream.read()) {
          buffer.append((char) b);
          if (b == '\n') {
            break;
          }
        }
        return buffer.toString();
      }
    }
docs: Reads an HTTP response line (ISO-8859-1 encoding).
  
  @return The line that was read, including CRLF.