Add socket connection.