globalheaders: add restart support to gh_pass()