retries: moved extraction of retry_after interval to internal method
this allows the rate_limiter plugin to override the method without patching the option and potentially overriding a client value
this allows the rate_limiter plugin to override the method without patching the option and potentially overriding a client value