Added cookie support for requests and responses