host: Read log stream until \n or premature EOF.

This ensures that the JSON object is either a single line, or
that it's partial.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
WIP

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>