spdy streams honor write window updates.
Merge pull request #484 from adriancole/stream-window-update

spdy streams honor write window updates
OkBuffer API sketch.

I'm unhappy with java.io:
 * No timeouts.
 * Every layer needs to copy bytes around. Always copying bytes.
 * Features like mark/reset and available() are clumsy.
 * Its awkard in mixed text/binary protocols like HTTP because
   character decoding is separate and takes over the stream.

Unfortunately java.nio isn't better, just different:
 * It's complex.
 * Buffers are fixed size.
 * No built-in buffer pooling.
 * Features like mark/reset/position are clumsy.

This is an obnoxious attempt at a 3rd I/O interface, mostly
inspired by InputStream and OutputStream, but using growable
buffers instead of byte arrays as the core data container.
Merge pull request #485 from square/okbuffer

OkBuffer API sketch.
Implement moving bytes between OkBuffers.

This is more complicated than I'd anticipated.
Merge pull request #487 from square/jwilson_0126_buffer_to_buffer

Implement moving bytes between OkBuffers.
Send window update after the peer sends half the limit on a stream or connection.
Fix mockwebserver jar download 404
Merge pull request #486 from adriancole/window-update

Send window update after the peer sends half the limit on a stream or connection
Merge pull request #488 from jgilfelt/patch-1

Fix mockwebserver jar download 404
Test de-flakiness attempt

Update surefire to latest and set travis to emit maven version.

Only use one MockSpdyPeer in SpdyConnectionTest and close its executor.

Consistency in HttpURLConnection tests.

Bump so and read timeouts in ConnectionPoolTest.
Merge pull request #490 from adriancole/close-test-peers

Use latest junit maven config and close test resources
Update to spdy/3.1 and ignore old spdy frames.
Merge pull request #489 from adriancole/spdy-3.1

Update to spdy/3.1 and ignore old spdy frames.
More buffer stuff: deadlines, indexOf and read.

Rename Timeout to Deadline. I'm still unsatisfied with this API,
but at least the new name is accurate.

Implement indexOf as a linear scan and read by delegating to
write.
Merge pull request #492 from square/jwilson_0127_indexof

More buffer stuff: deadlines, indexOf and read.
Adapters for sources and sinks.
Merge pull request #493 from square/jwilson_0128_okbuffers

Adapters for sources and sinks.
Read/write access for byte, short and int.

This is big-endian only because that's all we use in OkHttp.
Merge pull request #494 from square/jwilson_0128_data_in_buffers

Read/write access for byte, short and int.