state.setCredentials(null, destination.getHost(),
new UsernamePasswordCredentials(destination.getUser(), destination.getPassword()));
method.setPath(path);
// Execute the method
method.execute(state, conn);
// Send the output to the client: set the status code...
response.setStatus(method.getStatusCode());
// ... retrieve the headers from the origin server and pass them on