support setting and appending headers