Added error handling for bad domains and failed server requests Also added initial support for c9.io site