Change respBuf to a struct and double its size on big responses.