host: Fix accept_peer(); return index, not socket