Launch the main loop of the agent. This funtion blocks until it quits.
Implements ScimBridgeAgent.
References RETVAL_FAILED, RETVAL_SUCCEEDED, scim_bridge_pdebugln(), and scim_bridge_perrorln().