[gendarme] correctly detect EndOfStream on msnet
Merge pull request #30 from DavidS/master

gendarme fails to detect EOF on windows