[MOSYNC-2925] Read until EOF.
Merge pull request #1 from asarrafi/MoSyncLib

[MOSYNC-2925] Read until EOF.