HttpRequest req = createRequest(target);
HttpContext ctx = createContext();
System.out.println("opening connection to " + proxy);
scop.openConnection(conn, proxy, null, ctx, getParams());
HttpRequest connect = createConnect(target);
System.out.println("opening tunnel to " + target);
conn.sendRequestHeader(connect);
// there is no request entity