From: Raphaël Jolivet <raphael.jolivet_at_gmail.com>
Date: Tue, 8 Jun 2010 02:32:47 -0700 (PDT)
Thanks for your help, this did the trick.
Also, for your information, please note that I had to put a call
"myThread.join()" in the main thread, so that the main thread would wait for
its child thread to end.
Otherwise, the server would complain about a connection that was prematurely
ended.