I simply put a lot of heat on a pin, put pressure on it, when it moves a bit, I pull on the pin from the component side, pulling it through the melted solder and partly melted plastic. Once they are all out, the plastic might be a little stuck by the pulled solder from the pins but can easily be pryed off. Then just cleaning the pads finishes the job. I never try to remove the whole connector at once, too time consuming.