MAGEINT-302: Make timeout configurable for different requests
- fixed self-signed ssl certificate support