updated HTTP client to work with hosts that have an unofficial SSL cert.  This matches the behavior in the SMTP client.
Merge pull request #1076 from complexmath/curl-fixes-01

Disable SSL cert validation in curl client
Fix Issue 6408 - Phobos fixes

Do not use typeof(Type[0]) to get the element type of an array, use typeof(Type.init[0])
Merge pull request #1077 from yebblies/issue6408

Fix Issue 6408 - Phobos fixes