Fix stream receive by correctly reading all required bytes from the socket

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Merge pull request #123 from mpetazzoni/fix-log-stream-recvall

Fix stream receive by correctly reading all required bytes from the socket