Added the ability to retry bootstrap and peer connection a number of times (currently 3) to help address packet loss induced instability.