Update for issue #3 to populate https vs. http schema/protocol at runtime rather than at cache time.