added some more tests and implemented more server functionality... it should be mostly working now, feel free to poke it with telnet and see if it eats you