preprint: from loop groups to 2-groups