Probing the thermodynamic conditions of the heliosheath plasma by shock wave propagation