Convert retry-after header in seconds, and explicitly check value in test