Fixes socket reading algorithm

Fixes socket reading algorithm: sizeof(recvBuff)
Merge pull request #3 from justartem/patch-3

Fixes socket reading algorithm