Properties, characterization and preparation of halogenated aromatic polyamides