Describe what happens under the hood when a client makes an HTTPS request to an API gateway in an Ontic-style architecture.