add socket library