zproxy api adjustments (zproxy_bind now spawns attached thread and starts proxy) + test improvements