rmax wrote this server during his presentation at FOSDEM 2004 while the audience wrote chat clients.
code will follow