- Moved all helper functions to `utils` module.
- Added processing for response with Retry-After header.