rework the connection sharing for fixing conflict bucket issue
add test for prev source code
Merge pull request #21 from kaichen/master

重做连接共享的代码