Reorgainsed code! Added DefaultAddr and DefaultAddrTLS!