wip-9189: including client metadata when opening sessions