quick hack to enable https global agent