Thanks everyone for your assistance, a combination of WD40, hammer, breaker bar and better (6 sided) socket finally got them off! The shoes have been replaced and the mechanism cleaned up, the near side didn't work at all I don't think.
It's nice to have a handbrake that somewhat works now