add socket to config