Fix read when message size wasn't read in one step
Merge pull request #40 from pankdm/fix-incomplete-read

Fix read when message size wasn't read in one step

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>