Corrected the receiving of messages in DcSocket, minor cleanups

Change-Id: I1973c1e468fc002a4b7dba3310a22d86653eb812
Moved sendPixelStreamSegment() to DcStreamPrivate

Change-Id: Ie87b3c357a38ea3f892630baa9b5f1043087c773