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.
Merge pull request #3 from hawk081/master

ensure incomingHandler is well prepared.