test "https" requests properly.  before only tested "http".