add support for https proxy