Merge pull request #4 from royaltm/master

bug fixes + play nice with transactions and disconnects
Merge pull request #5 from royaltm/master

fix release of nil connection on connect error
Merge pull request #1 from fl00r/master

Switch the base