Use the URL class to handle redirect calculations.
v120
clean up error reporting in push parser

Change-Id: If9c37be3a86e564b568e4ee1c493bab1fafbb5a3
Merge remote-tracking branch 'koush/master' into cm-10.2
Do not set the callback if the Future was cancelled.
Cancelling a future should clear the callback.
Merge branch 'master' of https://github.com/koush/AndroidAsync

# By Koushik Dutta
# Via Koushik Dutta
* 'master' of https://github.com/koush/AndroidAsync:
  Cancelling a future should clear the callback.
  Do not set the callback if the Future was cancelled.
  clean up error reporting in push parser
  v120
  Use the URL class to handle redirect calculations.