Add support for using https with bulk APIs.

Our load balancer that fronts the CF routers requires https. However, the bulk APIs expect http. If an https url is specified, the URL gets prefixed with "http://" and bad things happen.

This small patch solves that problem and allows http or https to be used.