To share keepalive connections across all workers

Please read the commit logs for more detail.
不要使用assert，nginx里面绝大部分的操作都会判断返回值，如果出错就记录日志并终止当前请求。