'Test the http communication with reboots.'

def testReboots(self):

    self.SendToServer()
    self.client_communicator.RunOnce()
    self.CheckClientQueue()
    self.CreateNewClientObject()
    self.SendToServer()
    self.client_communicator.RunOnce()
    self.CheckClientQueue()
    self.CreateNewServerCommunicator()
    self.server_communicator.client_cache.Put(self.client_cn, self.client)
    self.SendToServer()
    self.client_communicator.RunOnce()
    self.CheckClientQueue()
