sanitize socket buffer to remove premature null chars. closes #219
Merge pull request #247 from DemiReticent/issue244fix

Fixes error resulting from previous Issue244 fix, when compiled in unicode mode
Merge pull request #248 from DemiReticent/nullchar

Issue #219: Fixes issue with null chars read from Maxima
Merge branch 'master' into minus