Make HTTPS proxy work with latest modules