Added support for https urls

Added support for https urls.