[Proposal] Add $secure parameter to script, style and image methods (#3863)