Issue 1623 resume to relier

Maybe put this into the resume-token code.