try {
// get the header
String url = remoteURI + "?req=header";
method = httpClient.newMethodGet(url);
if (showRequest) System.out.printf("CdmRemote request %s %n", url);
int statusCode = method.execute();
if (statusCode == 404)
throw new FileNotFoundException(method.getURI() + " " + method.getStatusLine());
if (statusCode >= 300)