Hopes are rising that a draft proposal for a ceasefire in Gaza will be accepted by Israel and Hamas, bringing an end to 15 months of fighting.