Musharraf warns of proxy war with India in Afghanistan