Refactoring to avoid stupid passing of player list everywhere
Added handshaking when connecting and all that it entails. No longer sends messages when not connected either.