UNetConnection::GetParentConnectionId

If this is a child connection it will return the topmost parent coonnection ID, otherwise it will return its own ID.