Add socket library