add a method to determine whether the response body is complete.

In a case that when  reading a chunk in read_entity_body, the connection broken because of something, it will return because of EOF. However, the caller don't know whether it has gotten a complete body.  So I add a sub to determine this.

Is it right? Thanks.