Cocoa framework for the Tor onion routing network