Rewrote Transport::ConnectToBootstrapEndpoint and Transport::DetectNatType to no longer be racy.