Base Adapter class. Adapters are where connections from hosts are accepted and mapped to Contexts. The host
connection requests a Context from a sessionId. If no matching Context is found, a new one is created and
the 'connection' event is raised.
The onConnection event is raised when a new Context is created for an application session. This happens when the
first client connects to your application.