added ClientConfig.connectionAttempts to provide an upper bound to conne...

...ction attempts.

fixes #1 

@DanSimon 
Yea..good idea.  I'm not sure why I left that in...I'll change that now