subscriber on connect selects client db (fix)
Merge pull request #414 from panva/patch-1

subscriber on connect selects client db (fix)