The equation of state at finite temperature: Structure and composition of protoneutron stars