Copy conn_fn when a new struct url is created