add socket connection