Fix problems with DeflaterSink.

We weren't checking Deflater.needsInput() in the deflate loop. This is
necessary on the RI, which returns 0 even when a subsequent call will
deflate data.
Merge pull request #630 from square/okhttp_15_jwilson_0310_deflater

Fix problems with DeflaterSink.