Added a new case to rest handlers errors where the http code is 0.  Not actually an http code, but indicates that the host given is not a valid host.  Before this point, an invalid host will return true from the clients login function despite not connecting