fix https connections