implement multi-thread proxy remaining critical bugs