server: Add hooks to support process tracing mechanisms other than ptrace.