Socket lib update