modified version of maneri's Java-Game-Server JetServer