Leaked plan outlines Gaza immunity