multithreaded proxy