setting http calls to run in insecure mode