multiplayer: move socket configuration inside result of user promise