Some fixes

Fixes some typos and adds a missing logger in `utils.py`.
I don't have the repo on my machine, you can just remove this line
            datagrams = self._register_queries(exp_queries_to_send)
and replace
            queries_to_send.extend(datagrams)
with
            queries_to_send.extend(exp_queries_to_send)
Otherwise, we're mixing queries and datagrams (not good). But again, exp_queries_to_send should always be empty.