Merge pull request #32 from cowboy129/master

Add Usage readme
Fix bugs that OnConnect and OnDisconnect are not triggered