add support for https urls