glue for the child process to talk to the new host api in the main process