Updating demuxStream to better handle incomplete payloads

Fixes https://github.com/apocas/dockerode/issues/10