docs: private static String[] parseResponseHeader(InputStream pIS) throws IOException {
          List<String> headers = new ArrayList<String>();
  
          // Wrap Stream in Reader
          BufferedReader in = new BufferedReader(new InputStreamReader(pIS));
  
          // Get response status
          String header;
  
          while ((header = in.readLine()) != null) {
              //System.err.println(header);
              headers.add(header);
          }
          return headers.toArray(new String[headers.size()]);
      }