Increase buffer size because the header itself can be larger than 8192