Add ipc_getChannelOf()
Update ipc_sendEndpoint() to use new locking utilities