Add callbacks for http response state