obfsproxy: Don't run all setup() functions in external mode
This function is called when obfsproxy is in external mode, and runs all the setup()
methods of all the obfsproxy transports.
def run_transport_setup(pt_config):
"""Run the setup() method for our transports."""
for transport, transport_class in transports.transports.items():
transport_class['base'].setup(pt_config)
I would argue that we should only call setup()
for the transport that we plan to use when in external mode.