We don't need the connections[] array, actually
When we receive a packet while the client is in Status mode, then we delegate to the Status message handler
Receiving a message from a client in Login state will delegate that message to the login message handler
Receiving a message from a client in the Play state will delegate the message to the global message handler