use explicit conversion
update sproto for big-endian
include sys/socket.h for freebsd
Update mongo.lua

mongo auth config
Merge pull request #207 from lmess/master

Update mongo.lua
使用spinlock，避免cas不能充分调度testdeadloop这样的用例
delete  unneccessary comment
Merge pull request #208 from xjdrew/bugfix-mq

使用spinlock，避免cas不能充分调度testdeadloop这样的用例
1、mongo_collection:createIndex 创建索引
2、mongo_collection:safe_insert 可以判断返回值的insert
3、mongo_collection:findAndModify 查询并修改
Merge pull request #210 from dpull/dev

扩展mongodb库功能
ready for v0.9.2
Merge branch 'dev' of github.com:cloudwu/skynet into dev
Merge pull request #212 from cloudwu/dev

release 0.9.2