encodedChunkLength
Given the length of the chunk body, returns the length of the entire encoded chunk. The chunk encoding structure is as follows: String(Hex(CHUNK_SIZE));chunk-signature=<64 bytes>\r\n
Return
an integer representing the length of the encoded chunk data. This is useful when calculating how many bytes to read in the test cases.
Parameters
chunkSize
the size of the chunk