Added hook for specifying HttpHeaders