the handle func become Client.Join
add type checking.
Merge pull request #22 from jbking/master

the handle func become Client.Join