Push socket.io sockets to array, update device events handlers