Use correct proxy type for https conections