sync with http://loopj.com/android-async-http/