Add default keepAliveLimit - fixes #744

Duration must be at the left of SysTime in an addition

Refactored and fixed logical errors

Fixed major issues and refactored some more

Check if connected before checking if keep-alive limit is expired

fix bad server_timeout / ignores keep-alive

A keep-alive of 0 means no keep-alive

Add better documentation for HTTPClientSettings, unittests not possible without a stable proxy online

Fix summary for settings

Changed test to unittest

Change variable name for max keep-alive requests
Comment out unittest
Merge pull request #756 from etcimon/fix-keepalive

HTTPClient keep-alive is not initialized properly