Changed HTTPAdapter to allow max retries to be specified when initializing.
Merge pull request #1309 from toastdriven/better-max-retries

Changed HTTPAdapter to allow max retries to be specified when initializing.