XD-1982 Add https Support to http Source

Note: untested - I am having some trouble getting my self-signed cert working, but the code should be ready to review.