use dynamic url for https connections