serverside code for the new rng.

i might have to change this code again because the following might be
true: 'instead of checking wether we already gave a random seed it'd
would be better to accept only seed requests ffrom the currently active
side'