From https://android.googlesource.com/platform/frameworks/volley/