Abstract: A gateway has a stack with a bearer adaptation layer and an HTTP client. The gateway may be connected by an HTTP link to an origin server and by a bearer interface to a mobile network. It may also be connected by an HTTP link to a WTA server. A context manager is a user on the stack and supports interfaces to allow access to external entities in a versatile manner. An event manager captures events including billing events and writes to an event log and to a billing log. A management entity provides overall control and sets configurations for the event manager.