add error handling server-side
Merge branch 'master' of https://github.com/dodo0822/lmclientx-ng