load external script using auto-detect protocol (http/https)