ensure incomingHandler is well prepared.

Preparing a Looper will block for a while,
somethimes the caller calling ClientThread.incomingHandler.sendMessage() may get a NullPointerException.
so ClientThread should make full preparations before notify others it is ready.