Java multithreaded Proxy server