forked from https://git.torproject.org/stem.git