zproxy re-implemented as actor

Though this doesn't really simplify the code, it removes dependencies on zctx and zthread.