Support for per-target headers and body contents; if any per-target header
is specified none of the global headers is used.