Add spaced.pl

Add server side code.

Signed-off-by: Paul Brook <paul@nowt.org>