riot: Change destiny references to socket_base