refactoring for handlebars integration
adds SteamAuthentication, better connection handling