Refactored the logging, and the meta IDs, such that we now log on connect and
disconnect, as well as on requests/commands.