AsyncHttpClient: added setMaxRetries method;

fixed a typo;

sry for the noise. it just bothered me.
I see no reason not to expose this functionality. especially on wireless, connections you may want to limit or increase the number of retry attempts.

https://github.com/loopj/android-async-http/issues/29

cheers