AsyncHttpClient/async-http-client — pull request #174 by rmellgren (2012-12-03 22:02:03+00:00)
Title: fix #173 by returning -1 on EOF, not 0

see https://github.com/AsyncHttpClient/async-http-client/issues/173