log.debug("Path 2: {}", path);
int reqContentLength = req.getContentLength();
if (reqContentLength > 0) {
log.debug("Request content length: {}", reqContentLength);
IoBuffer reqBuffer = IoBuffer.allocate(reqContentLength);
ServletUtils.copy(req, reqBuffer.asOutputStream());
reqBuffer.flip();
post.setEntity(new InputStreamEntity(reqBuffer.asInputStream(), reqContentLength));
post.addHeader("Content-Type", REQUEST_TYPE);
// get.setPath(path);
post.addHeader("Tunnel-request", path);