Merge pull request #1 from mashupbots/master

#91 - Added more logging and changed loading class from default class
solve the problem of registering restful apis where rest related classes are in a jar file
Merge branch 'master' of github.com:chenweiyj/socko into chenweiyj-master
Merge branch 'chenweiyj-master'
#91 - tidy up comments