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

...ction attempts.

fixes #1 

@DanSimon 
Maybe this should be something like `NoRetry` so it's not confused with `Option.None`.  In any case it should capitalized `None` since it's a constant.