add failover and rand load balancing for comet rpc to message.