[TAV-522] Configure number of network error retries.

Can now be set in the initializer.
Document the new connection configuration option.