An upwind formulation for the numerical prediction of non-equilibrium hypersonic flows