Many bug fixes in test cases and harness.  Almost have server-side stuff working.