RESTo works both in http or https