Use a named function instead of internals
Create version and header methods
Implement exponential backoff and helper function
Use proper arguments inside closures
Correct package module path
Export the client
JS doesn't have a ^ operator for exponents
Test exponential backoff request behavior