Hamas' top leader travelled to Cairo on Wednesday for talks on the war in Gaza, part of a flurry of diplomacy aimed at securing another ceasefire and hostage swap at a moment when the militant group is putting up stiff resistance to Israel's offensive.