In some situations winbindd may write multiple status change messages
before the middleware thread has an opportunity to read them. Because
of this, the winbindd behavior has been modified in a separate PR to
append a terminating newline to status messages. Accordingly, we
need to splitlines() in middleware to separate out the messages and
then parse each one separately to avoid JSON exceptions.