Clone from android network library Volley. (https://android.googlesource.com/platform/frameworks/volley)