UserConnection: do not inherit from shared_from_this + size_t->uint conversion warning fix.