EU vows retaliation if energy network attacked