Add support for a protocol attribute so http and https are both supported