Implements socket.id and replaces 'deauth' handler with 'disconnect'