Added reference to socket info struct inside socket data.
Changed the code according to new socket info reference field inside SD.