Added support to set cookies at responses.