MAGEINT-302: Make timeout configurable for different requests
- implemented again and fixed connection timeout handling in Junior library
- covered connection timeout handling with functional test