public JID getAddress() {
        if (session == null) {
            return null;
        }

        return session.getAddress();
    }
Obtain the address of the XMPP entity for which this StanzaHandler
handles stanzas.

Note that the value that is returned for this method can
change over time. For example, if no session has been established yet,
this method will return {@code null}, or, if resource binding occurs,
the returned value might change. Values obtained from this method are
therefore best <em>not</em> cached.

@return The address of the XMPP entity for.
xmppserver/src/main/java/org/jivesoftware/openfire/net/StanzaHandler.java