Close the InputStream before replacing the body

This fixes a bug where the InputStream would not always get closed full
logging is enabled.
Add empty Log implementation.
Ensure HTTP input stream is always closed.
Minor formatting clean-up.
Prepare for 1.2.1.
[maven-release-plugin] prepare release parent-1.2.2
[maven-release-plugin] prepare for next development iteration
Log headers with toString() instead of own impl

Header has a proper toString() method implementation that provides
proper functionality when System.out.print-ing the contents of
the header: instead of concatenating the string values, which can
be null, resulting in possibly "null: null" as a header option,
the toString() method correctly replaces a null occurrence with
the empty string.

Case in point, when logging the response you'll get:

    <--- HTTP 200 http://api.example.com/ (74ms)
    null: HTTP/1.1 200 OK

Which would look much better as:

    <--- HTTP 200 http://localhost:8081/somtoday/rest/ (74ms)
    HTTP/1.1 200 OK
Promote Android logging to a class which knows about chunking.

Remove the concept of chunking from calling code. This is an Android-specific implementation detail which is now only performed when needed.
Merge pull request #328 from square/jw/dont-mock-me

Promote Android logging to a class which knows about chunking.
Merge pull request #327 from dashorst/patch-1

Log headers with toString() instead of own impl
Correct header length checking logic. Improve exception message.
Merge pull request #337 from square/jw/logic

Correct header length checking logic. Improve exception message.