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
Add proper credits for Karan
net: Add information about the used proxy to the network debug messages

Previously, there was no indication that a proxy was actually being used.

REVIEW: 116482