add experimetnal new netcode as option and fix issue where the reconnecting dialog takes ages to appear when connection is broken or interrupted