added setHttpHeader() method