add setConnectionCachingEnabled, fix boolean typo, fix indenting
Merge pull request #210 from neophenix/master

add setConnectionCachingEnabled, fix boolean typo, fix indenting