Update tests to accommodate content-length not being set

Android 4.3 and 4.4 also do not set the content-length when the
content-encoding header is not set. This is unfortunate functionality
from Android, but the only way to work around this is to buffer the
response and examine the length.

Issue: ANDROID-110