Handler https urls too