Much better fix for problem with proxies being started and stopped qucikly.

Override SocketServer methods and add additional locking so we can wait
for the server thread to finish starting up.

BUG=chromium-os:16574
TEST=ctest running now...

Change-Id: I6787d4b7cfcd0b1f1fe893dd83b0332df241b332
Reviewed-on: http://gerrit.chromium.org/gerrit/4778
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/6463
Reviewed-by: Chris Sosa <sosa@chromium.org>
Tested-by: Chris Sosa <sosa@chromium.org>
1 file changed