AndroidAsync : Synchronize isCancelled

The parent reference can be null between the check for not null and
and invocation on its method under extreme race conditions. Avoid
that by placing it inside a synchronized block.

Change-Id: Ib625847c23230cf2c42204325de54149026ff5c6
Merge "AndroidAsync : Synchronize isCancelled" into cm-11.0
Catch cancelled key exceptions.
Eat data on http client connect cancellation.
Add keySet method for HashedList.

Change-Id: I7a15d1e8ecdd58c3b853c7d51ea17574da7d7102
Use custom exception classes to facilitate better error reporting on the client side
Merge pull request #94 from dmapr/master

Use custom exception classes to facilitate better error reporting on the client side
Make public some IoUtils.closeQuietly.

Change-Id: I048beaeb2af3ff53341008207b89d228b3cfd7ab
SocketIO: Better handle queries when building the session url
Pass the original exception as the cause when throwing ConnectionClosedException
Merge pull request #96 from rahulparsani/master

SocketIO: Better handle queries when building the session url
Merge pull request #97 from dmapr/master

Pass the original exception as the cause when throwing ConnectionClosedException
setParent when using setComplete(future).

Change-Id: I3938f1a20ce39a97ac330c1e0dbc684b5ce4eae3
Merge remote-tracking branch 'koush/master' into cm-11.0
Add FileDataSink.
ResponseCacheMiddleware: Expose entry metadata and body indices.

Change-Id: I083312e12d85b573d770699c978c2f61a6ef32ae
AsyncHttpRequest: do not set host when there is none.

Change-Id: I20c72374f7aad7d10871cab0e82cbee5972fc2c9
DiskLruCache: Add a way to commit ignoring whether the file was written.
This is kinda hacky. But Streams suck, and I needed a way to do this.

Change-Id: If3f1e9f27a4f1b6d1e1f01342999426542316ba8
Fix NRE in https://github.com/koush/AndroidAsync/issues/99#issuecomment-34524164