Restrict the protocols to be http and https only