Use version range for dev dep.
Simplify retryable check. Fix numeric retry opts initialisation. Add 0 and 1 maxRetries tests.