Add support for 'scheme' config variable: if defined, loads external res...

...ources using the defined scheme instead of the scheme acquired via location.protocol. Values 'http' and 'https' are supported.