[[ Bug 12407 ]] 'Garbage' with read from socket
Merge pull request #723 from runrevsebastien/bugfix-12407

[[ Bug 12407 ]]  'Garbage' with read from socket