flying: Rework client tests
(wip) flying: Support running as a Windows service