Merge pull request #17 from footer/master

bug fix in gate
fix typo
add some comment, and free data where error
add comment
bugfix
bugfix: typo
new socket service and socket lib instead of old connection, and rewrite redis lib
redis api back compatible
redis: sismember
bugfix: mistake when linking write_buffer to existing list in socket service
a little improvement to previous commit
Merge pull request #18 from kezhuw/bugfix

bugfix: mistake when linking write_buffer to existing list in socket ser...
fix some thing for kqueue
Merge pull request #19 from yinqiang/master

Little slip
launch socket

在启动console之前启动socket，不然console.lua调用socket.stdin()报错。
Merge pull request #20 from yinqiang/master

config_log
bugfix: socket read
typo
remove unused field
don't copy when forward