What's this script?
Properly capture full location names from status messages
Wait up to 20 seconds for connection establishment
Continuously check connection state during setup
Compare full location names exactly
Handle server-side location redirection
Connects to random location every 5...