primus: update client reconnect code to new api.
primus: update client reconnect code to new api.

tscholl2/smc,sagemathinc/smc,sagemathinc/smc,tscholl2/smc,DrXyzzy/smc,sagemathinc/smc,DrXyzzy/smc,tscholl2/smc,DrXyzzy/smc,tscholl2/smc,tscholl2/smc,DrXyzzy/smc,sagemathinc/smc