Revert "No longer automatically connect UDP on startup. Also removed some dead code"

This reverts commit e003dd7a7c95c3e86704de14189ea2ea094712d7.
Made error message more informative