Connection/reconnection logic fixes
Connection/reconnection logic fixes

layerhq/NSLogger,253627764/NSLogger,LuoLee/NSLogger,kennethjiang/Teleport-NSLog,Palleas/NSLogger,Judy-u/NSLogger,LuoLee/NSLogger,rvi/NSLogger,revile/Teleport-NSLog,253627764/NSLogger,GlennAustin/NSLogger,foursquare/NSLogger,Palleas/NSLogger,Judy-u/NSLogger,kennethjiang/Teleport-NSLog,rvi/NSLogger,Judy-u/NSLogger,zilaiyedaren/NSLogger,cnbin/NSLogger,revile/Teleport-NSLog,FumikoGlover/Teleport,Palleas/NSLogger,zilaiyedaren/NSLogger,253627764/NSLogger,FumikoGlover/Teleport,LuoLee/NSLogger,layerhq/NSLogger,LuoLee/NSLogger,Palleas/NSLogger,foursquare/NSLogger,Judy-u/NSLogger,layerhq/NSLogger,253627764/NSLogger,poplax/NSLogger,kennethjiang/Teleport-NSLog,foursquare/NSLogger,poplax/NSLogger,rvi/NSLogger,zilaiyedaren/NSLogger,revile/Teleport-NSLog,poplax/NSLogger,poplax/NSLogger,poplax/NSLogger,GlennAustin/NSLogger,kennethjiang/Teleport-NSLog,layerhq/NSLogger,Palleas/NSLogger,cnbin/NSLogger,cnbin/NSLogger,LuoLee/NSLogger,253627764/NSLogger,rvi/NSLogger,foursquare/NSLogger,FumikoGlover/Teleport,layerhq/NSLogger,foursquare/NSLogger,revile/Teleport-NSLog,zilaiyedaren/NSLogger,layerhq/NSLogger,rvi/NSLogger,GlennAustin/NSLogger,revile/Teleport-NSLog,GlennAustin/NSLogger,GlennAustin/NSLogger,cnbin/NSLogger,FumikoGlover/Teleport,FumikoGlover/Teleport