add socket to device and connect to peers