Fix https protocols