using secure connection for getting sources

prevent unexpected content using secure connection for getting sources