fixed writeInt, writeLong util methods, added getGame to matchmaking