fixed connection handler hook bug
Merge pull request #38 from zelgerj/master

fixed connection handler hook bug