Improve lazy initialize and close stream for `PrepRequestProcessor`
- Delay the initialization of `ChangeRecord` and `ReconfigRequest` variables
- Close the `ByteArrayOutputStream` I/O stream
Improve lazy initialize and close stream for `PrepRequestProcessor`