Initialize message headers if not present