[System.Net] Add support for .pac proxy config scripts on mac

This patch adds support for proxy configurations based on .pac files on Mac.