How to implement the mechanic that the player is dragging forward by a rope between he and his dog?

I try to implement the following mechanics: the player is following his dog with a rope in between. If the dog runs too fast, and the player fails to catch up, then the rope will drag the player forward. Any ideas for implementing this mechanic?