Additional tests added to cover the following scenarios:
 1. configured proxy server is not running
 2. invalid proxy server URL configured
 3. incorrect URL configured, e.g. to a non-proxy server
 4. proxy server is refusing CONNECT requests