Using https to work with cloud endpoints.