refactor(Client): make HandleBadResp customizable

User could write its own function to handle bad responses that
may meet when sending requests to the cluster.