Support https urls for resources