added support loading libraries via https