udpated version of #208
customer.io: use https endpoint
Merge pull request #375 from segmentio/fix/customerio-loading

udpated version of #208