readConsume callback, appends data to this.response, then looks for end_of_header_token. Returns data.length if finished or a greater value if the full payload isn't there yet.
Returns the payload or null if end_of_header_token hasn't been found yet.
The token that denotes the end of the HTTP header and the beginning of the payload.
true if end_of_header_token has been fond in response.
The expected payload length so that consume knows when to finish. The preferred way is to use the "Content-Length" HTTP response header line, but for simplicity we don't parse the full HTTP header here.
The index in response after end_of_header_token.
Everything passed to consume is appended here.
Stores and parses the response data which readConsume outputs.