added IPC support for sharing handles