getConnection().getURL().getPort()),
Cookie.getCookiePath(getWebRequest(),
getConnection().getURL().getFile()),
new Header(headerName, headerValue));
} catch (HttpException e) {
throw new ChainedRuntimeException(
"Error parsing cookies", e);
}
// Transform the HttpClient cookies into Cactus cookies and
// add them to the cookieVector vector