Thanks (again) to Rich Trouton for showing us a way of testing connectivity and uptime
You can use curl to create a telnet connection using a command similar to the one shown below:
curl -v telnet://ip.address.here:port.number.here
curl -v telnet://www.yahoo.com:443