Rewritten grutad.pl to be a real TCP/IP server.