Client library: change default number of retries from 30 to 6 in order to reduce the retry time when handling communications outages. Fix retry logic with file / last chunk size retrieval by allowing to the kfs protocol state machine to handle retries.
Test scripts: explicitly set larger number of retries with endurance test script where 30 was implicitly assumed.
Client library: [really] change default number of retries from 30 to 6 in order to reduce the retry time when handling communications outages.