I made a huge mistake : to think socket was lost every time socket->read doesn't return error::none

It's now fixed and data exchange works
moving to next step