refactor(Client): be able to check retry in SendRequests

User could write its own function to check retry cases before sending
request again.
Merge pull request #101 from unihorn/7

refactor(Client): be able to check retry in SendRequests