Fixed a bug in dcmdata.

Refactoring dcmdata to use unsigned types where possible caused problems
for some index comparisons. Solved by using iterators instead of indexed
access.
Fixed typo in method name.

Renamed method getConnnectionTimeout() to getConnectionTimeout().