stream: remove ReadLine maxLength

it doesn't do what its name suggests.

refs #4370
livestatus: stop reading data if stream was closed

fixes #4371
Merge remote-tracking branch 'icinga2/master'