Modification de la classe SocketReader.

Signed-off-by: Kevin <kevainxxx@gmail.com>