Fix bug in connection service

current connection number only increase
Merge pull request #13 from hlouis/master

Fix bug in connection service
Make for Freebsd
client : put unsend bytes into temp buffer
gate support write, and service client forward message to gate
gate readme
bugfix
bugfix
avoid close socket duplicate
bugfix in Mac OSX
bug fix about epoll event cache machanism: socket may be closed by a previous epoll event's processing
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