Fixed issue with connections not properly being closed
Fixed issue causing terms in optional arguments to be encoded incorrectly. Fixes #114
Updated version number + changelog
Merge branch 'hotfix/v0.3.2'