Allow for https as well as http requests