allow headers to be set when creating a container