[tor-commits] [onionoo/master] Use reflection and overloading in order to facilitate testing and