public void setHeaders(Header[] heads2) {
	if (heads == null) {
	    heads = new Hashtable<String, String>();
	}
	for (int i = 0; i < heads2.length; i++) {
	    heads.put(heads2[i].getName(), heads2[i].getValue());
	}

    }