public LocalClientSession createClientSession(Connection conn, StreamID id) {
        return createClientSession( conn, id, null);
    }
Creates a new {@code ClientSession} with the specified streamID.

@param conn the connection to create the session from.
@param id the streamID to use for the new session.
@return a newly created session.
xmppserver/src/main/java/org/jivesoftware/openfire/SessionManager.java