Looking at the tor daemon source code