add getter and setter for r->headers_(in|out)