sock api: add infra for bootstrapping shm clients