China's soft message on Hamas is part of a much bigger strat