Merge pull request #21 from proxyio/dev

[bugfix] destroy the messages of sio socket's ls_head when socket closed
Merge branches 'master' and 'dev' into dev