Will now use net-http-persistent only if ruby 2+.