I\'ve developed a framework for executing API requests against a web based product, wherein users can specify to either connect using HTTP or HTTPS, depending on how their s