NOREF: Changing the connection method to https