Gut feeling says change the new TLS code to take in a reactor instance and pass it everywhere.