sec_proxy: Get thread ids from host id