Added to error message that the sample must be run from http or https.