Thanks to everyone for your suggestions. It seems, I could do similar to reactor using null_buffers. I am going to try both techniques.(reading header and using null_buffers).

Thanks,
Ram