Enable trojita to use System Proxy Settings

Underlying sockets can be made aware of the requirement of using System Proxy Settings.
Best match Proxy Settings are applied to the socket before connection is made.

REVIEW: 115429