'Hamas accepts draft agreement for a Gaza ceasefire'