I never found any over the counter stuff for it. Take some sleeping aids (whatever you like, benzos if you've got a prescription for them), get in the hottest, fullest bath possible, then get out and get straight into bed and pray for sleep.
Baths are the only thing that everyone agrees works, and was the only thing that worked for me. Pray you sleep before they start up again. If you don't, take another bath. While you are in the bath, they'll stop. They start up again as soon as you're out. So stay in there as long or as often as needed.
Not sleeping is another withdrawal symptom, but hopefully you will wear yourself out and sleep eventually - you'll drop off to sleep unexpectedly just as you think your legs need to just fall off
Hang in there, this is the hardest part. You don't want to have to do this again and if you don't use again, you won't have to!! One hurdle done with!!