session: Use parent_handle instead of transport_opts