return received buffer when no content lenght is given (http 1.0)

- return the buffer and mark the response as done when the connection
  is closed when no content-lenght is given and the HTTP version is 1.0
- return the buffer on error closed in other cases:

    {error, {closed, Buffer}}

fix #21