agent: Change intialization of assuan socket system hooks.