I believe this is how it works:
HCl/HBr: works on all types of alcohols, and can cause rearrangements
SOCl2: primary/secondary
PCl3: methyl, primary, secondary, with inversion of configuration.
I believe that's how it is...someone correct me if Im wrong.