public StreamID getStreamID() {
        final String value = element.attributeValue( "streamid" );
        if (value == null) {
            return null;
        }
        return BasicStreamIDFactory.createStreamID( value );
    }
Return the stream ID that identifies the connection that is actually sending
the wrapped stanza.

@return the stream ID that identifies the connection that is actually sending
        the wrapped stanza.
xmppserver/src/main/java/org/jivesoftware/openfire/multiplex/Route.java