private String getCookieHeader(CloseableHttpResponse resp) {
    Header lastHeader = resp.getLastHeader("Set-Cookie");

    if (lastHeader == null) {
      return null;
    }
    return lastHeader.getElements()[0].getValue();
  }
Sends a request to the server and returns a custom response object with the result

@param storeRespCookie if true, retain the value of a "Set-Cookie" header returned in the
       response.
geode-assembly/geode-assembly-test/src/main/java/org/apache/geode/session/tests/Client.java