Refactored AsyncHttpResponseHandler.java code base to facilitate a single base class and to use binary as the base response format
Refactored dependent AsyncHttpResponseHandler.java classes: BinaryHttpResponseHandler.java, JsonHttpResponseHandler.java
Added new ResponseHandler: TextHttpResponseHandler.java
Cleaned up exception handling, added missing exception handling and mofified RetryHandler behavior to be more robust
Moved handler to separate class to avoid leaks in AsyncHttpRequest.java
Added PROGRESS and RETRY messages

Signed-off-by: Peter Edwards <sweetlilmre@gmail.com>
Reworked Json handler to parse json on the download thread in the
failure case and fixed the messaging to be consistant
updated javadocs
Big download fixes:
Removed unnecessary buffer copy (should allow for larger downloads and helps to combat VM heap constraints)
Wrapped allocation in OutOfMemory handler, current behaviour will signal the GC and retry. This _sometimes_ works if GC has a change to run
Added FileAsyncHttpResponseHandler based on:
https://github.com/loopj/android-async-http/pull/134

Modified Request params to allow multiple params with the same name
based on https://github.com/loopj/android-async-http/pull/136

Fixed unhandled exception AsyncHttpRequest
Merge remote-tracking branch 'sweetlilmre/master' into md

# By Peter Edwards (3) and sweetlilmre (1)
# Via Peter Edwards
* sweetlilmre/master:
  Added FileAsyncHttpResponseHandler based on: https://github.com/loopj/android-async-http/pull/134
  Big download fixes: Removed unnecessary buffer copy (should allow for larger downloads and helps to combat VM heap constraints) Wrapped allocation in OutOfMemory handler, current behaviour will signal the GC and retry. This _sometimes_ works if GC has a change to run
  Reworked Json handler to parse json on the download thread in the failure case and fixed the messaging to be consistant updated javadocs
  Refactored AsyncHttpResponseHandler.java code base to facilitate a single base class and to use binary as the base response format Refactored dependent AsyncHttpResponseHandler.java classes: BinaryHttpResponseHandler.java, JsonHttpResponseHandler.java Added new ResponseHandler: TextHttpResponseHandler.java Cleaned up exception handling, added missing exception handling and mofified RetryHandler behavior to be more robust Moved handler to separate class to avoid leaks in AsyncHttpRequest.java Added PROGRESS and RETRY messages

Conflicts:
	src/com/loopj/android/http/AsyncHttpRequest.java
	src/com/loopj/android/http/JsonHttpResponseHandler.java
Fix SyncHttpClient to work with @sweetlilmre refactored code
Merge pull request #1 from friendlyfashion/33809bf10d860eee6fa67ef00958da0eae1aef01

Recent changes at original repo working with refactored response handlers
change retry handler to call appropriate method
Merge pull request #225 from tonchidot/master

Fixed bug for same name parameter at RequestParams.
fix bug of  post 'multipart/form-data' request without file data
Merge pull request #226 from coffeesherk/master

fix bug of post 'multipart/form-data' request without file data
add content-type parameter for char-stream data in multipart/form-data

add content-type parameter for char-stream data in multipart/form-data &
fix bug of writing wrong last boundary
Merge pull request #228 from coffeesherk/master

add content-type parameter for char-stream data in multipart/form-data & fix bug of writing wrong last boundary
Add RequestParams#add

This is a shortcut for adding a parameter which can have many values; useful for communicating for something like Rails, where array parameters are non-unique.
DRY
doc
Merge pull request #275 from usepropeller/request_params_add

Add RequestParams#add
The failure message should have the response in a byte array.

handleSuccessMessage() was being (properly) handed a byte array, but handleFailureMessage() was being passed a string. This adjusts the call to handleFailureMessage() to pass a byte array as well.
Merge pull request #284 from fixedd/master

The failure message should have the response in a byte array.
Allow request params of nested map, list, and set