Fix typo
Fix package name
Move Rety logic from Consumer to middleware.
Add factory
Merge pull request #68 from henrikbjorn/retry-middleware

Retry middleware