getInstanceFor(connection) and getInstanceFor(connection, deviceid) now throw NotLoggedInExceptions. When such an exception is thrown, the client should react by using getInstanceFor(connection, jid) or getInstanceFor(connection, jid, deviceId).