docs: private int getContentLength(Map<String, List<String>> headers)
      {
          try
          {
              return Integer.parseInt(headers.get("Content-Length").get(0));
          }
          catch (Exception e)
          {
              return -1;
          }
      }