add http response headers to adxml and http error