PTFM-15822 dxpy ul tunnel support
PTFM-15822 dxpy ul tunnel support

Summary:
When communicating with S3 via the upload accelerator TCP
tunnel, substitute the expected S3 hostname for matching with the
certificate.

Also factor all urllib3 configuration items into one subroutine.

Test Plan: Tested by hand

Reviewers: psung

Reviewed By: psung

Differential Revision: https://dnanexus.phacility.com/D452

olegnev/dx-toolkit,dnanexus/dx-toolkit,dnanexus/dx-toolkit,dnanexus/dx-toolkit,olegnev/dx-toolkit,olegnev/dx-toolkit,olegnev/dx-toolkit,andyshinn/dx-toolkit,johnwallace123/dx-toolkit,andyshinn/dx-toolkit,dnanexus/dx-toolkit,johnwallace123/dx-toolkit,olegnev/dx-toolkit,andyshinn/dx-toolkit,johnwallace123/dx-toolkit,andyshinn/dx-toolkit,jhuttner/dx-toolkit,dnanexus/dx-toolkit,dnanexus/dx-toolkit,jhuttner/dx-toolkit,jhuttner/dx-toolkit,johnwallace123/dx-toolkit,olegnev/dx-toolkit,andyshinn/dx-toolkit,johnwallace123/dx-toolkit,dnanexus/dx-toolkit,jhuttner/dx-toolkit,dnanexus/dx-toolkit,jhuttner/dx-toolkit,jhuttner/dx-toolkit,jhuttner/dx-toolkit,andyshinn/dx-toolkit,jhuttner/dx-toolkit,olegnev/dx-toolkit,johnwallace123/dx-toolkit,johnwallace123/dx-toolkit,andyshinn/dx-toolkit,olegnev/dx-toolkit,andyshinn/dx-toolkit,johnwallace123/dx-toolkit