Map the high level connect interface to CFNetwork when available

This allows the high level interfaces to use CFNetwork on iOS and Mac. MailCore1 will then use CFNetwork instead of OpenSSL.

Please check this over as I haven't substantially tested it (like StartTLS has not been tested). I'll be running this code the next couple days to try it out