Fix compilation under MSVC, bind some fucntions
Merge branch 'master' of https://github.com/conde2/otclient