Checks the supplied URI to determine if it's online or offline.