Preparation for 32 player support

- Initial support for 32 players
- Handshake could overflow on 32 player bitmasks
- Stall detection now correctly assigns the packet host in Packet-Server
mode
Handshake socket could close prematurely

During handshake, a guest would close their socket and forget they were
connected.