Use window protocol (http or https) when setting this.url