I think if a cyclist uses a shared pavement, they should be prepared to travel at walking pace now and then. It is after all a pavement. I have had many occasions where I didn't want to startle a pedestrian so I just hang back. Strangely, headphones or not they eventually sense you are there...