Initial checkin; it compiles, and theoretically runs until someone connects at which point it will trip on an undefined and crash.