Callbacks improved.
Merge branch 'master' of https://github.com/intelligent-systems/libwebsocket