Simplify IP address guessing code.
Simplify getting local IP address code.
Fall back to guessing the external IP address if local IP address is unusable.
Lightning Wire Labs: Unset unused IP addresses
Lightning Wire Labs: Fix product name.
Fix coding style.