HCOLL-230 - split the buffers into a read buffer and a write buffer, add trace code for debugging  ( which will be removed soon )
Merge remote-tracking branch 'origin/master'