Spray foam could curb blood loss, reduce death from traumatic injuries.