Create a pluggable API to interact with tor

Sooner or later, we'll want to interact with Arti.

Therefore, we should create an API that can work with multiple backends:

  • the control port
  • Arti
  • maybe some mock for testing