Use AOSP ByteArrayPool to try and avoid buffer GC.

Re-using buffers can help avoid GC and make things run more smoothly when streaming data.

squash! Use AOSP ByteArrayPool to try and avoid buffer GC.

Copy tests over and attempt at better formatting.

squash! Use AOSP ByteArrayPool to try and avoid buffer GC.

ArrayDeque is <= API level 9 :-(

squash! Use AOSP ByteArrayPool to try and avoid buffer GC.

Another attempt at formatting.

fixup! squash! Use AOSP ByteArrayPool to try and avoid buffer GC.

Indent code properly attempt.
update http2 to draft 9 and hpack to draft 5
Only Java 6 and up are supported now.
Merge pull request #401 from square/jw/one-six

Only Java 6 and up are supported now.
Implement simple limits in the dispatcher.

This adds Dispatcher to the public API so that application
code can tweak the policy.
Merge pull request #396 from hwrdprkns/avoid_buffer_gc

Use AOSP ByteArrayPool to try and avoid buffer GC.
Merge pull request #400 from adriancole/http2-draft09

update http2 to draft 9 and hpack to draft 5
Merge pull request #399 from square/jwilson_0104_dispatcher

Implement simple limits in the dispatcher.