feat(multiplayer): Add core socket code