@Override
    public void reinit(LocalSession session) {
        super.reinit(session);
        stanzaHandler.setSession(session);
    }
Following the conventions of the BOSH implementation, this class extends {@link VirtualConnection}
and delegates the expected XMPP connection behaviors to the corresponding {@link WebSocketClientConnectionHandler}.
xmppserver/src/main/java/org/jivesoftware/openfire/websocket/WebSocketConnection.java