network proxy: Enable trojita to use System Proxy Settings for IMAP

If user enables "Use System Proxy Settings" by a checkbox in the IMAP Settings Tab, System's proxy settings are read prior to connection,
applied to the underlying socket, and connection is made through the proxy.

REVIEW: 115429