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

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Merge branch 'fix-log-stream-recvall' into next