Expose set headers in downstream handlers, fixes #529