Make anontunnel work with the swift tunneling

DO NOT MERGE YET
Modify the config before calling the session constructor