Former Palace defender Jonathan Parr retires from football