Added http response wrapper class with support for setting a cookie.