code: public void setProtocol(String protocol) {
  	if (protocol.endsWith("://")) protocol = protocol.substring(0, protocol.indexOf("://"));
  	this.protocol = protocol.toLowerCase();
      }
docs: set the value protocol Specifies the protocol used to create pages from cache. Either http:// or
  https://. The default is http://.
  
  @param protocol value to set