Fix mixup between BasicHttpBinding and BasicHttpsBinding