Added header management to requests and responses (#10).