[SAMSRV] Implement SamConnect5() and add/improve TRACE messages.