profiler-to-carbon: read entire socket buffer in one go

Change-Id: I13e02125acdec4ad5a430cf0c2397c6cb807ffcb