docs: public JsonObject newHar(String initialPageRef,
                               boolean captureHeaders,
                               boolean captureContent,
                               boolean captureBinaryContent) {
          try {
              // Request BMP to create a new HAR for this Proxy
              HttpPut request = new HttpPut(requestURIBuilder()
                      .setPath(proxyURIPath() + "/har")
                      .build());
  
              // Add form parameters to the request
              applyFormParamsToHttpRequest(request,
                      new BasicNameValuePair("initialPageRef", initialPageRef),
                      new BasicNameValuePair("captureHeaders", Boolean.toString(captureHeaders)),
                      new BasicNameValuePair("captureContent", Boolean.toString(captureContent)),
                      new BasicNameValuePair("captureBinaryContent", Boolean.toString(captureBinaryContent)));
  
              // Execute request
              CloseableHttpResponse response = HTTPclient.execute(request);
  
              // Parse response into JSON
              JsonObject previousHar = httpResponseToJsonObject(response);
              // Close HTTP Response
              response.close();
  
              return previousHar;
          } catch (Exception e) {
              throw new BMPCUnableToCreateHarException(e);
          }
      }