public OutgoingServerSession getSession() {
        return session;
    }
Returns the OutgoingServerSession for which this reader is working for or {@code null} if
a OutgoingServerSession was not created yet. While the OutgoingServerSession is being
created it is possible to have a reader with no session.

@return the OutgoingServerSession for which this reader is working for or {@code null} if
        a OutgoingServerSession was not created yet.
xmppserver/src/main/java/org/jivesoftware/openfire/server/OutgoingServerSocketReader.java